package com.lap.auth;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.ApplicationPidFileWriter;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableDiscoveryClient
@SpringBootApplication
@EnableTransactionManagement
public class AuthBootstrap {

  public static void main(String[] args) {
    var app = new SpringApplication(AuthBootstrap.class);
    app.addListeners(new ApplicationPidFileWriter());
    app.run(args);
  }
}
